package com.qianying.domain;

import java.util.List;


public class QueryResultT<T>  {

    public List<T> getQueryData() {
        return queryData;
    }

    public void setQueryData(List<T> queryData) {
        this.queryData = queryData;
    }

    public Long getRowCount() {
        return rowCount;
    }

    public void setRowCount(Long rowCount) {
        this.rowCount = rowCount;
    }

    public Long getPageSize() {
        return pageSize;
    }

    public void setPageSize(Long pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getCurPage() {
        return curPage;
    }

    public void setCurPage(Integer curPage) {
        this.curPage = curPage;
    }

    public Integer getPageCount() {
        return pageCount;
    }

    public void setPageCount(Integer pageCount) {
        this.pageCount = pageCount;
    }

    public QueryResultT()
    {

    }

    public QueryResultT(List<T> queryData) {
        this.queryData = queryData;
    }

    public QueryResultT(List<T> queryData, Long rowCount, Long pageSize) {
        this.queryData = queryData;
        this.rowCount = rowCount;
        this.pageSize = pageSize;
    }


    private List<T> queryData;
    private Long rowCount;
    private Long pageSize;
    private Integer curPage;
    private Integer pageCount;
}
